<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page import="JSPBasicGrammar.javaBeanScience03.javaBeanClass.Logic" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>

<div>

<%

String emails=request.getParameter("email");

Logic logic=new Logic(emails);

if(logic.isEmail()){
	out.println("该邮箱地址合法!");
}else{
	out.println("该邮箱地址不合法!");
}

%>
<a href="index.jsp">返回</a>
</div>

</body>
</html>